Skip to content

feat: migrate ExpirationTransactionScript to package#3111

Merged
PhilippGackstatter merged 3 commits into
nextfrom
tomasarrachea-migrate-to-package
Jul 9, 2026
Merged

feat: migrate ExpirationTransactionScript to package#3111
PhilippGackstatter merged 3 commits into
nextfrom
tomasarrachea-migrate-to-package

Conversation

@TomasArrachea

@TomasArrachea TomasArrachea commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Part of #2896.

Assembles the transaction expiration script into a Package on build-time instead of using the CodeBuilder.

TODO:

  • Do the same for the SendNotesTransactionScript. This requires changing the script to take advice inputs instead of handling them from strings. Will do it a separate PR.

@TomasArrachea TomasArrachea force-pushed the tomasarrachea-migrate-to-package branch from 9413ded to e67177a Compare June 22, 2026 15:47
@TomasArrachea TomasArrachea force-pushed the tomasarrachea-standards-miden-project branch 2 times, most recently from 3ef6a1b to 1fb8495 Compare July 1, 2026 19:31
Base automatically changed from tomasarrachea-standards-miden-project to next July 2, 2026 17:47
@TomasArrachea TomasArrachea force-pushed the tomasarrachea-migrate-to-package branch 2 times, most recently from de1b3b3 to e389b8d Compare July 6, 2026 15:58
@TomasArrachea TomasArrachea force-pushed the tomasarrachea-migrate-to-package branch from e389b8d to 5826321 Compare July 6, 2026 15:58
@TomasArrachea TomasArrachea changed the title feat: assemble transaction scripts in build-time feat: assemble ExpirationTransactionScript in build-time Jul 6, 2026
@TomasArrachea TomasArrachea changed the title feat: assemble ExpirationTransactionScript in build-time feat: migrate ExpirationTransactionScript to package Jul 6, 2026
@TomasArrachea TomasArrachea marked this pull request as ready for review July 6, 2026 17:35

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if this belongs under asm/standards. We already have a notes sub-directory there which contain the known note scripts, and I think another sub-directory tx_scripts would mirror it well.

Or is there a reason why this needs to be its own package?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. In ccd8150 I changed it so the script is now a library procedure inside the standards package, marked with the @transaction_script annotation.

@mmagician mmagician left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks! The structure looks much better imo

@PhilippGackstatter PhilippGackstatter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@PhilippGackstatter PhilippGackstatter added this pull request to the merge queue Jul 9, 2026
Merged via the queue into next with commit 1362517 Jul 9, 2026
19 checks passed
@PhilippGackstatter PhilippGackstatter deleted the tomasarrachea-migrate-to-package branch July 9, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants